<?php/** * @copyright 2011 * @version $Id$ * @access public * @author Oriotiori */class Admin_Form_addproductForm extends Zend_Form{    public function __construct($data = null)    {        parent::__construct($data);        $this->setMethod('post')            ->setAttribs(array('class' => 'none'))            ->setName('addproduct')            ->setEnctype('multipart/form-data')            ->setAction(Zend_Controller_Front::getInstance()->getBaseUrl().'/admin/products/add');        $image= new Zend_Form_Element_File('product_image');        $image->addValidator('Extension', false, 'jpg,png,gif,jpeg')        		->addValidator('Count', false, 5)        		->setMultiFile(5);                $this->setElementFilters(array('StringTrim'));        $this->addElements(array($image));    }}